Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bar chart with only top 5 values*

    Hello all,

    I have three variables: hospitalid and claims. I am trying to create a bar chart of top 5 hospital with total claims.

    egen total_claims = total(claims), by(hospitalid)

    Now I am trying to create bar chart with 5 hospitalids that have highest total claims in descending order. Any suggestions would be welcomed. Thank you.


  • #2
    See the very recent paper with title "... The largest five ..." at https://journals.sagepub.com/doi/pdf...6867X221106436

    Comment

    Working...
    X